package com.lqq.designPattern.bulider_pattern.factory.abstractFactory;

//意大利风味工厂，可以生产拿铁咖啡和提拉米苏
public class ItalyDessertCoffeeFactory implements DessertCoffeeFactory{

    //生产提拉米苏
    @Override
    public Dessert createDessert() {
        return new Trimisu();
    }

    //生产拿铁咖啡
    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }
}
